// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_securityranges
// * CreateDate    : 2014-06-05 18:30:01
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:01
// * LastChanger   : 2014-06-05 18:30:01
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmSecurityrangesTable : TableInfo
    {
		public const string C_TableName = "hm_securityranges";
		
		public const string C_rangeid = "rangeid";
		public const string C_rangepriorityid = "rangepriorityid";
		public const string C_rangelowerip1 = "rangelowerip1";
		public const string C_rangelowerip2 = "rangelowerip2";
		public const string C_rangeupperip1 = "rangeupperip1";
		public const string C_rangeupperip2 = "rangeupperip2";
		public const string C_rangeoptions = "rangeoptions";
		public const string C_rangename = "rangename";
		public const string C_rangeexpires = "rangeexpires";
		public const string C_rangeexpirestime = "rangeexpirestime";
		
		public HmSecurityrangesTable()
        {
            _tableName = "hm_securityranges";
        }
		
		protected static HmSecurityrangesTable _current;
        public static HmSecurityrangesTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmSecurityrangesTable();

            _current.Add(C_rangeid, new ColumnInfo(C_rangeid,"Rangeid", true, typeof(int)));
            _current.Add(C_rangepriorityid, new ColumnInfo(C_rangepriorityid,"Rangepriorityid", false, typeof(int)));
            _current.Add(C_rangelowerip1, new ColumnInfo(C_rangelowerip1,"Rangelowerip1", false, typeof(long)));
            _current.Add(C_rangelowerip2, new ColumnInfo(C_rangelowerip2,"Rangelowerip2", false, typeof(long)));
            _current.Add(C_rangeupperip1, new ColumnInfo(C_rangeupperip1,"Rangeupperip1", false, typeof(long)));
            _current.Add(C_rangeupperip2, new ColumnInfo(C_rangeupperip2,"Rangeupperip2", false, typeof(long)));
            _current.Add(C_rangeoptions, new ColumnInfo(C_rangeoptions,"Rangeoptions", false, typeof(int)));
            _current.Add(C_rangename, new ColumnInfo(C_rangename,"Rangename", false, typeof(string)));
            _current.Add(C_rangeexpires, new ColumnInfo(C_rangeexpires,"Rangeexpires", false, typeof(byte)));
            _current.Add(C_rangeexpirestime, new ColumnInfo(C_rangeexpirestime,"Rangeexpirestime", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo rangeid
        {
            get { return this[C_rangeid]; }
        }
		
		public ColumnInfo rangepriorityid
        {
            get { return this[C_rangepriorityid]; }
        }
		
		public ColumnInfo rangelowerip1
        {
            get { return this[C_rangelowerip1]; }
        }
		
		public ColumnInfo rangelowerip2
        {
            get { return this[C_rangelowerip2]; }
        }
		
		public ColumnInfo rangeupperip1
        {
            get { return this[C_rangeupperip1]; }
        }
		
		public ColumnInfo rangeupperip2
        {
            get { return this[C_rangeupperip2]; }
        }
		
		public ColumnInfo rangeoptions
        {
            get { return this[C_rangeoptions]; }
        }
		
		public ColumnInfo rangename
        {
            get { return this[C_rangename]; }
        }
		
		public ColumnInfo rangeexpires
        {
            get { return this[C_rangeexpires]; }
        }
		
		public ColumnInfo rangeexpirestime
        {
            get { return this[C_rangeexpirestime]; }
        }
		
		
		
	}
}

